#include <max7219.h>
#include <characters.h>

MAX7219 mymatrix;
void setup(){
  mymatrix.setup(A3,A4,A5);//din,cs,clock
  mymatrix.shift(smiley);//used because of wiring fault
  mymatrix.flip(smiley); // used because my matrix was wired backwards or something
  mymatrix.pic(smiley);//prints 8x8 array from characters.h can be usyed to storte pics
  delay(2000);
  mymatrix.flip(wave);
  mymatrix.drawchar('A'); //draws ascii charcter with attached charctersfont.c file
  
}

void loop(){
  mymatrix.shift(wave); //useing fault to shift same picturte over again
  mymatrix.pic(wave);
  delay(50);
  
  
  
}
